home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 2001 May
/
SGI IRIX Base Documentation 2001 May.iso
/
usr
/
relnotes
/
dmedia_eoe
/
ch16.z
/
ch16
Wrap
Text File
|
2001-04-17
|
15KB
|
463 lines
- 1 -
16. _D_i_g_i_t_a_l__M_e_d_i_a__C_o_m_m_a_n_d_s
The digital media subsystem _d_m_e_d_i_a__e_o_e._s_w._b_a_s_e contains a
number of command line utility programs. This chapter
describes changes, additions, and bug fixes to these
commands.
16.1 _D_i_g_i_t_a_l__M_e_d_i_a__F_i_l_e__C_o_n_v_e_r_s_i_o_n__C_o_m_m_a_n_d_s
The following digital media file conversion and information
utilities are included in _d_m_e_d_i_a__e_o_e._s_w._b_a_s_e:
+o _d_m_i_n_f_o(1) display info about sound,
movie, image files
+o _d_m_c_o_n_v_e_r_t(1) general purpose sound, image, movie
converter tool
+o _s_f_i_n_f_o(1) display info about sound files (link
to _d_m_i_n_f_o)
+o _a_i_f_c_r_e_s_a_m_p_l_e(1) sampling rate converter (link to
_d_m_c_o_n_v_e_r_t)
+o _a_i_f_f_2_a_i_f_c(1) convert AIFF to AIFF-C (link to
_d_m_c_o_n_v_e_r_t)
+o _a_i_f_c_2_a_i_f_f(1) convert AIFF-C to AIFF (link to
_d_m_c_o_n_v_e_r_t)
+o _a_i_f_c_c_o_m_p_r_e_s_s(1) compress AIFF(-C) data (link to
_d_m_c_o_n_v_e_r_t)
+o _a_i_f_c_d_e_c_o_m_p_r_e_s_s(1) decompress AIFF(-C) data (link to
_d_m_c_o_n_v_e_r_t)
+o _s_f_c_o_n_v_e_r_t(1) sound file converter (link to
_d_m_c_o_n_v_e_r_t)
+o _m_a_k_e_m_o_v_i_e(1) movie file converter (link to
_d_m_c_o_n_v_e_r_t)
_d_m_c_o_n_v_e_r_t is a general-purpose command-line tool for
converting between a variety of digital media file formats.
It can be used to convert between different movie file
formats (e.g. SGI movie, QuickTime, MPEG-1 systems
bitstream, MPEG-1 video bitstream), different sound file
- 2 -
formats (e.g. AIFF, AIFF-C, MPEG-1 audio bitstream), and
sequences of images in various formats (e.g. SGI image,
JFIF, TIFF, GIF, FIT).
_d_m_i_n_f_o is a command-line utility program which displays
detailed information about the audio and/or image tracks in
a digital media file (sound file, movie file, or image
file). The tool also displays general information such as
the total playing time for the file.
16.1.1 _C_h_a_n_g_e_s__a_n_d__A_d_d_i_t_i_o_n_s__s_i_n_c_e__I_R_I_X__5_._3
+o _d_m_c_o_n_v_e_r_t(_1) is a new general-purpose digital media
file conversion utility which replaces _a_i_f_c_2_a_i_f_f(_1),
_a_i_f_f_2_a_i_f_c(_1), _a_i_f_c_c_o_m_p_r_e_s_s(_1), _a_i_f_c_d_e_c_o_m_p_r_e_s_s(_1),
_a_i_f_c_r_e_s_a_m_p_l_e(_1), _s_f_c_o_n_v_e_r_t(_1), and _m_a_k_e_m_o_v_i_e(_1). The
older programs are still available for backwards
compatibility.
+o _d_m_i_n_f_o(_1) is a new utility program which displays
various attributes of the audio and/or image data
stored in a digital media file. It replaces
_a_i_f_c_i_n_f_o(_1), _s_f_i_n_f_o(_1), and _m_a_k_e_m_o_v_i_e -_D. The older
programs are still available for backwards
compatibility.
16.1.2 _C_h_a_n_g_e_s__a_n_d__A_d_d_i_t_i_o_n_s This section lists
changes/additions to the digital media conversion commands
between the IRIX 6.2 and IRIX 6.3/6.4 releases.
+o _d_m_c_o_n_v_e_r_t includes the ability to convert to the AVI
movie format.
+o _d_m_c_o_n_v_e_r_t includes support for the Intel Indeo 3.2
compressor.
+o _d_m_c_o_n_v_e_r_t no longer requires an SGI license to enable
MPEG-1 audio, MPEG-1 video, or Cinepak encoding. These
capabilities are now bundled with the base IRIX 6.3 and
6.4 software releases.
+o _d_m_c_o_n_v_e_r_t includes support for additional sound file
formats: Creative Labs SoundFont 2, SampleVision,
Creative Labs VOC, Audio Visual Research, Amiga
IFF/8SVX.
+o _d_m_c_o_n_v_e_r_t includes support for several additional audio
compression schemes: CCITT G.726, CCITT G.728, GSM
- 3 -
06.10, IMA DVI ADPCM.
16.2 _K_n_o_w_n__P_r_o_b_l_e_m_s__a_n_d__W_o_r_k_a_r_o_u_n_d_s
+o _d_m_c_o_n_v_e_r_t does not yet handle transfer of inst chunk
information for any formats other than AIFF and AIFF-C.
Similarly, many miscellaneous chunk types are not
transferred between all available file types. _d_m_i_n_f_o
also fails to parse much of this information in the
other file formats. There is sample code in
/_u_s_r/_s_h_a_r_e/_s_r_c/_d_m_e_d_i_a/_s_o_u_n_d_c_o_m_m_a_n_d_s showing methods of
doing these things.
16.3 _A_u_d_i_o__R_e_c_o_r_d_i_n_g__a_n_d__P_l_a_y_b_a_c_k__C_o_m_m_a_n_d_s
The following sound utility commands are included in
_d_m_e_d_i_a__e_o_e._s_w._b_a_s_e:
+o _s_f_p_l_a_y(1) sound file playback command
+o _p_l_a_y_a_i_f_c(1) installed as a symbolic link to
_s_f_p_l_a_y
+o _p_l_a_y_a_i_f_f(1) installed as a symbolic link to
_s_f_p_l_a_y
+o _s_f_r_e_c_o_r_d(1) sound file recording command
+o _r_e_c_o_r_d_a_i_f_c(1) installed as a symbolic link to
_s_f_r_e_c_o_r_d
+o _r_e_c_o_r_d_a_i_f_f(1) installed as a symbolic link to
_s_f_r_e_c_o_r_d
+o _p_a_s_s_t_h_r_u(1) user-level audio in to audio out
utility
The IRIS Digital Media Development Environment 6.4 (shipped
as part of IRIS Development Option 6.4) includes complete
source code for all of the above commands.
- 4 -
16.3.1 _C_h_a_n_g_e_s__a_n_d__A_d_d_i_t_i_o_n_s This section lists
changes/additions to the sound commands between the IRIX 6.2
and IRIX 6.3/6.4 releases.
+o _s_f_r_e_c_o_r_d is a new general-purpose command-line tool for
recording sound files. The older _p_l_a_y_a_i_f_c and _p_l_a_y_a_i_f_f
invocations are retained for backward compatibility.
_s_f_r_e_c_o_r_d supports a number of output formats: WAVE,
Sun/NeXT, raw sample data, and the CCITT G.726, CCITT
G.728, GSM, MPEG-1 audio, and DVI ADPCM codecs.
16.4 _V_i_d_e_o__U_t_i_l_i_t_y__C_o_m_m_a_n_d_s
The following video I/O utility commands are included in
_d_m_e_d_i_a__e_o_e._s_w._b_a_s_e:
+o _v_i_d_e_o_i_n(1) display video input in a window
+o _v_i_d_e_o_o_u_t(1) send a portion of the screen to video
out
+o _v_i_d_t_o_m_e_m(1) single video frame capture to memory
+o _m_e_m_t_o_v_i_d(1) single video frame output from memory
+o _v_i_n_t_o_v_o_u_t(1) user-level video in to video out
utility
+o _v_l_i_n_f_o_f_P(_1) _d_i_s_p_l_a_y _V_i_d_e_o _L_i_b_r_a_r_y
_c_o_n_f_i_g_u_r_a_t_i_o_n _i_n_f_o_r_m_a_t_i_o_n
_T_h_e _I_R_I_S _D_i_g_i_t_a_l _M_e_d_i_a _D_e_v_e_l_o_p_m_e_n_t _E_n_v_i_r_o_n_m_e_n_t _6._4 (_s_h_i_p_p_e_d
_a_s _p_a_r_t _o_f _I_R_I_S _D_e_v_e_l_o_p_m_e_n_t _O_p_t_i_o_n _6._4) _i_n_c_l_u_d_e_s _c_o_m_p_l_e_t_e
_s_o_u_r_c_e _c_o_d_e _f_o_r _a_l_l _o_f _t_h_e _a_b_o_v_e _v_i_d_e_o _u_t_i_l_i_t_y _c_o_m_m_a_n_d_s.
_1_6._4._1 _C_h_a_n_g_e_s__a_n_d__A_d_d_i_t_i_o_n_s This section lists
changes/additions to the video commands between the IRIX 6.2
and IRIX 6.3/6.4 releases.
+o Each of the above video commands is supported on the
built-in video I/O subsystem for video-equipped O2
- 5 -
workstations.
16.5 _V_i_d_e_o__D_i_s_k__R_e_c_o_r_d_i_n_g__a_n_d__P_l_a_y_b_a_c_k__C_o_m_m_a_n_d_s
The following audio/video disk recording and playback
commands are included in _d_m_e_d_i_a__e_o_e._s_w._b_a_s_e:
+o _d_m_r_e_c_o_r_d(1) record motion JPEG video with audio
to disk
+o _d_m_p_l_a_y(1) play back motion JPEG video with
audio from disk
_d_m_r_e_c_o_r_d is a command-line tool for hard disk video
recording. It records an SGI movie file which contains a
JPEG-compressed video track and, optionally, a synchronized
audio track. _d_m_r_e_c_o_r_d supports real-time video recording to
disk through ev1 video (Galileo Video, Indigo2 Video, Indy
Video) and the Cosmo Compress JPEG video compressor.
Starting with IRIX 6.3, _d_m_r_e_c_o_r_d also supports real-time
recording to disk using the built-in audio/video input ports
and built-in realtime JPEG encoding capabilities of the O2
workstation. By default it produces QuickTime movies using a
new format, which is not playable using the previous version
of dmplay. It can however be instructed to produce SGI
movies in the old format.
Starting with IRIX 6.3 for O2 R10000, _d_m_r_e_c_o_r_d can also
produce movies by capturing the images on the monitor
screen.
_d_m_p_l_a_y is a command-line tool for hard disk video playback.
It plays back an SGI movie file which contains a JPEG-
compressed image track. By default, _d_m_p_l_a_y uses the Cosmo
Compressor JPEG decompressor to decode the image track in
real-time. The decompressed video output from Cosmo is
passed through the ev1 video device and is displayed in a
video window on the screen. _d_m_p_l_a_y supports synchronized
audio playback when video is decompressed using Cosmo.
- 6 -
Starting with IRIX 6.3, _d_m_p_l_a_y also supports real-time
playback from disk using the built-in audio/video output
ports and built-in realtime JPEG decoding capabilities of
the O2 workstation. The O2 memory-based architecture allows
decompressed video to be passed directly to the graphics
framebuffer in main memory for display to the screen, either
by itself or simultaneously with display to video. This
version of dmplay can play both SGI movies of the old format
and the QuickTime movies of the new format.
_d_m_p_l_a_y also supports playback in a graphics window using
software JPEG decompression. In this mode, video playback is
non-real-time, and audio playback is not supported.
The IRIS Digital Media Development Environment 6.4 (shipped
as part of IRIS Development Option 6.4) includes complete
source code for _d_m_p_l_a_y and _d_m_r_e_c_o_r_d.
16.5.1 _C_h_a_n_g_e_s__a_n_d__A_d_d_i_t_i_o_n_s This section lists
changes/additions to the digital media recording and
playback commands between the IRIX 6.2 and IRIX 6.3/6.4
releases.
+o _d_m_r_e_c_o_r_d now supports synchronized audio/video capture
on video-equipped O2 workstations using the built-in
memory-to-memory realtime JPEG encoding capability of
the system.
+o _d_m_p_l_a_y now supports synchronized audio/video playback
on the O2 workstation with display to screen and or
video out using the built-in memory-to-memory realtime
JPEG decoding capability of the system. (Display to
video out is only available on video-equipped systems.)
16.5.2 _C_h_a_n_g_e_s__a_n_d__A_d_d_i_t_i_o_n_s This section lists
changes/additions to the digital media recording and
playback commands between the IRIX 6.3 and IRIX 6.3 for O2
R10000 releases.
+o _d_m_r_e_c_o_r_d now can produce JPEG movies by capturing
screen images.
16.5.3 _B_u_g__F_i_x_e_s
- 7 -
+o _d_m_p_l_a_y now performs the zzzzoooooooommmm option correctly.
+o The performance of _d_m_p_l_a_y is much improved for both
graphics and video display.
16.6 _S_y_n_c_h_r_o_n_i_z_e_d _A_u_d_i_o/_V_i_d_e_o _R_e_a_l_t_i_m_e _U_n_c_o_m_p_r_e_s_s_e_d _D_i_s_k
_R_e_c_o_r_d_i_n_g _a_n_d _P_l_a_y_b_a_c_k _C_o_m_m_a_n_d_s
The following synchronized audio/video uncompressed realtime
disk recording and playback commands are included in
_d_m_e_d_i_a__e_o_e._s_w._t_o_o_l_s:
+o _a_v_c_a_p_t_u_r_e(1) realtime capture command
+o _a_v_p_l_a_y_b_a_c_k(1) realtime playback command
The IRIS Digital Media Development Environment 6.5 (shipped
as part of IRIS Development Option 6.5) includes complete
source code for all of the above commands.